package com.ysd.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import org.springframework.format.annotation.DateTimeFormat;
@Entity
public class Student {
	@Id
	@Column(name = "studentid")
	private String studentId;

	@Column(name = "studentname")
	private String studentName;
    
	@Column(name = "sex")
	private String sex;
    
	@Column(name = "age")
	private Integer age;
    
	@Column(name = "educition")//学历
	private String educition;
    
	@Column(name = "phone")
	private String phone;
    
	@Column(name = "studentqq")
	private String studentQQ;
    
	@Column(name = "address")
	private String address;
     
	@Column(name = "statue")
	private String statue;
    
	@Column(name = "sourcemode")//来源方式
	private String sourcemode;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "careatetime")
	private Date careateTime;
   
	@Column(name = "sourcekey")
	private String sourcekey;//来源关键词
    
	@Column(name = "studentintroduction")
	private String studentintroduction;//学生介绍
    
	@Column(name = "isvisit")
	private String isVisit;//是否回访过

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "firstvisittime")
	private Date firstVisitTime;//第一次访问时间
    
	@Column(name = "isdoor")
	private String isDoor;//是否上门

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "doortime")
	private Date doorTime;//上门时间
   
	@Column(name = "paymoney")
	private Double payMoney;//付款金额

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "paymoneytime")
	private Date payMoneyTime;//付款时间
    
	@Column(name = "isdel")
	private String isDel;//是否有效
   
	@Column(name = "effectivereason")
	private String effectiveReason;//有效原因
    
	@Column(name = "noteffective")
	private String noteffective;// 无效原因
   
	@Column(name = "isrefund")
	private String isRefund;//是否退款
    
	@Column(name = "refundreason")
	private String refundReason;//退款原因
    
	@Column(name = "advancedeposit")
	private Double advancedeposit;//预存
    
	@Column(name = "advancetime")
	private Date advanceTime;
   
	@Column(name = "spare1")
	private String spare1;
    
	@Column(name = "spare2")
	private String spare2;
   
	@Column(name = "spare3")
	private String spare3;
    
	@Column(name = "spare4")
	private Integer spare4;

	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getEducition() {
		return educition;
	}

	public void setEducition(String educition) {
		this.educition = educition;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getStudentQQ() {
		return studentQQ;
	}

	public void setStudentQQ(String studentQQ) {
		this.studentQQ = studentQQ;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getStatue() {
		return statue;
	}

	public void setStatue(String statue) {
		this.statue = statue;
	}

	public String getSourcemode() {
		return sourcemode;
	}

	public void setSourcemode(String sourcemode) {
		this.sourcemode = sourcemode;
	}

	public Date getCareateTime() {
		return careateTime;
	}

	public void setCareateTime(Date careateTime) {
		this.careateTime = careateTime;
	}

	public String getSourcekey() {
		return sourcekey;
	}

	public void setSourcekey(String sourcekey) {
		this.sourcekey = sourcekey;
	}

	public String getStudentintroduction() {
		return studentintroduction;
	}

	public void setStudentintroduction(String studentintroduction) {
		this.studentintroduction = studentintroduction;
	}

	public String getIsVisit() {
		return isVisit;
	}

	public void setIsVisit(String isVisit) {
		this.isVisit = isVisit;
	}

	public Date getFirstVisitTime() {
		return firstVisitTime;
	}

	public void setFirstVisitTime(Date firstVisitTime) {
		this.firstVisitTime = firstVisitTime;
	}

	public String getIsDoor() {
		return isDoor;
	}

	public void setIsDoor(String isDoor) {
		this.isDoor = isDoor;
	}

	public Date getDoorTime() {
		return doorTime;
	}

	public void setDoorTime(Date doorTime) {
		this.doorTime = doorTime;
	}

	public Double getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(Double payMoney) {
		this.payMoney = payMoney;
	}

	public Date getPayMoneyTime() {
		return payMoneyTime;
	}

	public void setPayMoneyTime(Date payMoneyTime) {
		this.payMoneyTime = payMoneyTime;
	}

	public String getIsDel() {
		return isDel;
	}

	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}

	public String getEffectiveReason() {
		return effectiveReason;
	}

	public void setEffectiveReason(String effectiveReason) {
		this.effectiveReason = effectiveReason;
	}

	public String getNoteffective() {
		return noteffective;
	}

	public void setNoteffective(String noteffective) {
		this.noteffective = noteffective;
	}

	public String getIsRefund() {
		return isRefund;
	}

	public void setIsRefund(String isRefund) {
		this.isRefund = isRefund;
	}

	public String getRefundReason() {
		return refundReason;
	}

	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}

	public Double getAdvancedeposit() {
		return advancedeposit;
	}

	public void setAdvancedeposit(Double advancedeposit) {
		this.advancedeposit = advancedeposit;
	}

	public Date getAdvanceTime() {
		return advanceTime;
	}

	public void setAdvanceTime(Date advanceTime) {
		this.advanceTime = advanceTime;
	}

	public String getSpare1() {
		return spare1;
	}

	public void setSpare1(String spare1) {
		this.spare1 = spare1;
	}

	public String getSpare2() {
		return spare2;
	}

	public void setSpare2(String spare2) {
		this.spare2 = spare2;
	}

	public String getSpare3() {
		return spare3;
	}

	public void setSpare3(String spare3) {
		this.spare3 = spare3;
	}

	public Integer getSpare4() {
		return spare4;
	}

	public void setSpare4(Integer spare4) {
		this.spare4 = spare4;
	}

	public Student(String studentId, String studentName, String sex, Integer age, String educition, String phone,
			String studentQQ, String address, String statue, String sourcemode, Date careateTime, String sourcekey,
			String studentintroduction, String isVisit, Date firstVisitTime, String isDoor, Date doorTime,
			Double payMoney, Date payMoneyTime, String isDel, String effectiveReason, String noteffective,
			String isRefund, String refundReason, Double advancedeposit, Date advanceTime, String spare1, String spare2,
			String spare3, Integer spare4) {
		super();
		this.studentId = studentId;
		this.studentName = studentName;
		this.sex = sex;
		this.age = age;
		this.educition = educition;
		this.phone = phone;
		this.studentQQ = studentQQ;
		this.address = address;
		this.statue = statue;
		this.sourcemode = sourcemode;
		this.careateTime = careateTime;
		this.sourcekey = sourcekey;
		this.studentintroduction = studentintroduction;
		this.isVisit = isVisit;
		this.firstVisitTime = firstVisitTime;
		this.isDoor = isDoor;
		this.doorTime = doorTime;
		this.payMoney = payMoney;
		this.payMoneyTime = payMoneyTime;
		this.isDel = isDel;
		this.effectiveReason = effectiveReason;
		this.noteffective = noteffective;
		this.isRefund = isRefund;
		this.refundReason = refundReason;
		this.advancedeposit = advancedeposit;
		this.advanceTime = advanceTime;
		this.spare1 = spare1;
		this.spare2 = spare2;
		this.spare3 = spare3;
		this.spare4 = spare4;
	}

	public Student() {
		super();
		// TODO Auto-generated constructor stub
	}
  
}
